import request from '@/utils/request'

//1. 获取等级列表信息接口
export function levelList() {
    return request({
        url: '/levelController/getLevel',
        method: 'get'
    })
}
//2. 新增等级
export function saveOrUpdateLevel(data) {
    return request({
        url: '/levelController/saveOrUpdateLevel',
        method: "post",
        data

    })
}
//3. 删除等级
export function deleteLevel(data) {
    return request({
        url: '/levelController/deleteLevel',
        method: "delete",
        data

    })
} 